Integrand size = 23, antiderivative size = 61 \[ \int \frac {a+b \sin (c+d x)}{\sqrt {e \cos (c+d x)}} \, dx=-\frac {2 b \sqrt {e \cos (c+d x)}}{d e}+\frac {2 a \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{d \sqrt {e \cos (c+d x)}} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {2748, 2721, 2720} \[ \int \frac {a+b \sin (c+d x)}{\sqrt {e \cos (c+d x)}} \, dx=\frac {2 a \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{d \sqrt {e \cos (c+d x)}}-\frac {2 b \sqrt {e \cos (c+d x)}}{d e} \]
[In]
[Out]
Rule 2720
Rule 2721
Rule 2748
Rubi steps \begin{align*} \text {integral}& = -\frac {2 b \sqrt {e \cos (c+d x)}}{d e}+a \int \frac {1}{\sqrt {e \cos (c+d x)}} \, dx \\ & = -\frac {2 b \sqrt {e \cos (c+d x)}}{d e}+\frac {\left (a \sqrt {\cos (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{\sqrt {e \cos (c+d x)}} \\ & = -\frac {2 b \sqrt {e \cos (c+d x)}}{d e}+\frac {2 a \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{d \sqrt {e \cos (c+d x)}} \\ \end{align*}
Time = 0.28 (sec) , antiderivative size = 50, normalized size of antiderivative = 0.82 \[ \int \frac {a+b \sin (c+d x)}{\sqrt {e \cos (c+d x)}} \, dx=\frac {-2 b \cos (c+d x)+2 a \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{d \sqrt {e \cos (c+d x)}} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 1.23 (sec) , antiderivative size = 75, normalized size of antiderivative = 1.23
method | result | size |
parts | \(\frac {2 a \sqrt {2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \operatorname {am}^{-1}\left (\frac {d x}{2}+\frac {c}{2}| \sqrt {2}\right )}{d \sqrt {e \left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right )}}-\frac {2 b \sqrt {e \cos \left (d x +c \right )}}{d e}\) | \(75\) |
default | \(-\frac {2 \left (\sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, F\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) a -2 b \left (\sin ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+b \sin \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{\sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {-2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) e +e}\, d}\) | \(106\) |
risch | \(-\frac {b \left (1+{\mathrm e}^{2 i \left (d x +c \right )}\right ) \sqrt {2}\, {\mathrm e}^{-i \left (d x +c \right )}}{d \sqrt {e \left (1+{\mathrm e}^{2 i \left (d x +c \right )}\right ) {\mathrm e}^{-i \left (d x +c \right )}}}+\frac {2 a \sqrt {-i \left ({\mathrm e}^{i \left (d x +c \right )}+i\right )}\, \sqrt {i \left (-i+{\mathrm e}^{i \left (d x +c \right )}\right )}\, \sqrt {i {\mathrm e}^{i \left (d x +c \right )}}\, F\left (\sqrt {-i \left ({\mathrm e}^{i \left (d x +c \right )}+i\right )}, \frac {\sqrt {2}}{2}\right ) \sqrt {e \left (1+{\mathrm e}^{2 i \left (d x +c \right )}\right ) {\mathrm e}^{i \left (d x +c \right )}}\, {\mathrm e}^{-i \left (d x +c \right )}}{d \sqrt {{\mathrm e}^{3 i \left (d x +c \right )} e +{\mathrm e}^{i \left (d x +c \right )} e}\, \sqrt {e \left (1+{\mathrm e}^{2 i \left (d x +c \right )}\right ) {\mathrm e}^{-i \left (d x +c \right )}}}\) | \(232\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.09 (sec) , antiderivative size = 75, normalized size of antiderivative = 1.23 \[ \int \frac {a+b \sin (c+d x)}{\sqrt {e \cos (c+d x)}} \, dx=\frac {-i \, \sqrt {2} a \sqrt {e} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right ) + i \, \sqrt {2} a \sqrt {e} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right ) - 2 \, \sqrt {e \cos \left (d x + c\right )} b}{d e} \]
[In]
[Out]
\[ \int \frac {a+b \sin (c+d x)}{\sqrt {e \cos (c+d x)}} \, dx=\int \frac {a + b \sin {\left (c + d x \right )}}{\sqrt {e \cos {\left (c + d x \right )}}}\, dx \]
[In]
[Out]
\[ \int \frac {a+b \sin (c+d x)}{\sqrt {e \cos (c+d x)}} \, dx=\int { \frac {b \sin \left (d x + c\right ) + a}{\sqrt {e \cos \left (d x + c\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \sin (c+d x)}{\sqrt {e \cos (c+d x)}} \, dx=\int { \frac {b \sin \left (d x + c\right ) + a}{\sqrt {e \cos \left (d x + c\right )}} \,d x } \]
[In]
[Out]
Time = 6.07 (sec) , antiderivative size = 47, normalized size of antiderivative = 0.77 \[ \int \frac {a+b \sin (c+d x)}{\sqrt {e \cos (c+d x)}} \, dx=-\frac {2\,\sqrt {\cos \left (c+d\,x\right )}\,\left (b\,\sqrt {\cos \left (c+d\,x\right )}-a\,\mathrm {F}\left (\frac {c}{2}+\frac {d\,x}{2}\middle |2\right )\right )}{d\,\sqrt {e\,\cos \left (c+d\,x\right )}} \]
[In]
[Out]